package com.groupbuying.settleproducer.service.impl;

import com.groupbuying.settleproducer.dao.SettleUshopWithdrawalYsSecondClearDao;
import com.groupbuying.settleproducer.domain.SettleUshopWithdrawalYsSecondClearDO;
import com.groupbuying.settleproducer.service.SettleUshopWithdrawalYsSecondClearService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SettleUshopWithdrawalYsSecondClearServiceImpl implements SettleUshopWithdrawalYsSecondClearService {
	@Autowired
	private SettleUshopWithdrawalYsSecondClearDao withdrawalYsSecondClearDao;
	
	@Override
	public SettleUshopWithdrawalYsSecondClearDO get(String withdrawalSecondId){
		return withdrawalYsSecondClearDao.get(withdrawalSecondId);
	}
	
	@Override
	public List<SettleUshopWithdrawalYsSecondClearDO> list(Map<String, Object> map){
		return withdrawalYsSecondClearDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return withdrawalYsSecondClearDao.count(map);
	}
	
	@Override
	public int save(SettleUshopWithdrawalYsSecondClearDO withdrawalYsSecondClear){
		return withdrawalYsSecondClearDao.save(withdrawalYsSecondClear);
	}
	
	@Override
	public int update(SettleUshopWithdrawalYsSecondClearDO withdrawalYsSecondClear){
		return withdrawalYsSecondClearDao.update(withdrawalYsSecondClear);
	}
	
	@Override
	public int remove(String withdrawalSecondId){
		return withdrawalYsSecondClearDao.remove(withdrawalSecondId);
	}
	
	@Override
	public int batchRemove(String[] withdrawalSecondIds){
		return withdrawalYsSecondClearDao.batchRemove(withdrawalSecondIds);
	}
	
}
